package com.mingqijia.gassafety.webserver.service.workorder.mbp;

import com.mingqijia.gassafety.shared.dto.tcis.CancelBusiOrderDTO;
import com.mingqijia.gassafety.webserver.request.tcis.UnbindAlarmRequest;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName EquipmentCmpService.java
 * @createTime 2022年08月08日
 */
@Component
public interface TcisService {



    /**
     * TCIS同步
     *
     * @param jsonData 请求体数据
     * @param type     请求接口：0 工商户用气设备 1外购燃气具安装
     *                 2外购燃气具维修  3报警器信息记录查询  4工单详情查询
     *                 5内购燃气具维修  6诉求处理部门查询 7内购报警
     * @param param
     * @param consumerId
     * @return ｛code ，msg ，data｝ code 0成功 -1失败
     */
     Map<String, Object> tcisRequest(Map<String, Object> jsonData, int type,
                                     String param, String consumerId);

    /**
     * tcis请求解绑状态同步给
     * @param request
     * @param consumerId
     * @param spId
     */
    void tcisRequestUnbindAlarm(UnbindAlarmRequest request,String consumerId,String spId) ;


     //orgCode 处理部门code
    Map<String, Object> tcisRequestSmartKitchen(Map<String, Object> param, int type, String orgCode,
                                                String jvOrgCode);
    /**
     * tcis取消业务工单
     * @param request
     * @param consumerId
     * @param spId
     */
    void tcisRequestCancelBusiOrder(CancelBusiOrderDTO request, String consumerId, String spId) ;


}